package com.goldcn.picture.dao;

import com.goldcn.picture.model.PicInfoItem;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface PicInfoItemMapper {
    int deleteByPrimaryKey(Long itemid);

    int insert(PicInfoItem record);

    int insertSelective(PicInfoItem record);

    PicInfoItem selectByPrimaryKey(Long itemid);

    int updateByPrimaryKeySelective(PicInfoItem record);

    int updateByPrimaryKey(PicInfoItem record);

    int deleteByPictureId(Long pictureid);

    List<PicInfoItem> selectListBypictureId(Long pictureid);
}
